import hashlib

strs='中午一起吃饭嘛？'
hasobj=hashlib.sha256(strs.encode('utf-8'))
print(hasobj.hexdigest())


md5Obj=hashlib.md5(strs.encode('UTF-8'))
print(md5Obj.hexdigest())
